//
//  YWPublicBaseViewController.h
//  YWBaseFrameWork
//
//  Created by mac on 16/7/16.
//  Copyright © 2016年 NeiQuan. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^CompleteBlock)(id);

@interface YWPublicBaseViewController : UIViewController
@property (nonatomic,   copy)NSString           *rightButtonTitle;
@property (nonatomic        )UIView             *contentView;
@property (nonatomic        )UIView             *wrapperView;
@property (nonatomic        )BOOL               navigationBarHidden;
@property (nonatomic        )BOOL               hasTabBar;
@property (nonatomic,   copy)CompleteBlock      completeBlock;
/** 设置导航条右边按钮 */
-(void)setRightBarButtonItemWithFrame:(CGRect)frame title:(NSString *)titile titleColor:(UIColor *)titleColor image:(NSString *)image imageInsets:(UIEdgeInsets)insets backImage:(NSString *)backImage selectBackImage:(NSString *)selectBackImage action:(SEL)action;
-(void)setRightBarButtonWithImage:(NSString *)imageName action:(SEL)action;
-(void)setRightBarButtonWithTitle:(NSString *)title action:(SEL)action;


@end
